package com.yxw.live_vod_boot.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yxw.live_vod_boot.dto.ShopHomepageReviewQueryDTO;
import com.yxw.live_vod_boot.entity.YxUploadSourceMaterialReviewEntity;
import com.yxw.live_vod_boot.vo.UploadSourceMaterialReviewVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 素材上传审核mapper
 * @author xiexuxin
 * @date 2023-12-03
 */
@Repository
public interface UploadSourceMaterialReviewMapper extends BaseMapper<YxUploadSourceMaterialReviewEntity> {

    /**
     * 获取店铺主页信息列表
     * @param page
     * @param dto
     * @return
     */
    List<UploadSourceMaterialReviewVO> getUploadSourceMaterialReview(Page<UploadSourceMaterialReviewVO> page, @Param("dto") ShopHomepageReviewQueryDTO dto);
}
